package com.tyqx.hashchaindao.mapper;

import java.util.Date;
import java.util.List;

import com.tyqx.hashchainbean.module.BuyProduct;
import org.apache.ibatis.annotations.Param;

public interface BuyProductMapper {

    public int insert(BuyProduct record);



    public int addBuyProduct(BuyProduct needProduct);

    public List<BuyProduct> getBuyProductById(String donateId);

    public List<BuyProduct> getBuyProductByTime(@Param("startTime")Date startTime, @Param("endTime")Date endTime, @Param("userName")String userName);
}